package domain;

import java.sql.Date;

public class Task {

	private Long id;
	private String name;
	private String description;
	private Long plannedTime;
	private Date plannedStartdate;
	private Date plannedEnddate;
	private boolean facturable;
	private String systematicNumber;
	private Project project;
	public Task() {
		super();
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Long getPlannedTime() {
		return plannedTime;
	}
	public void setPlannedTime(Long plannedTime) {
		this.plannedTime = plannedTime;
	}
	public Date getPlannedStartdate() {
		return plannedStartdate;
	}
	public void setPlannedStartdate(Date plannedStartdate) {
		this.plannedStartdate = plannedStartdate;
	}
	public Date getPlannedEnddate() {
		return plannedEnddate;
	}
	public void setPlannedEnddate(Date plannedEnddate) {
		this.plannedEnddate = plannedEnddate;
	}
	public boolean getFacturable() {
		return facturable;
	}
	public void setFacturable(boolean isFacturable) {
		this.facturable = isFacturable;
	}
	public String getSystematicNumber() {
		return systematicNumber;
	}
	public void setSystematicNumber(String systematicNumber) {
		this.systematicNumber = systematicNumber;
	}
	public Project getProject() {
		return project;
	}
	public void setProject(Project project) {
		this.project = project;
	}
	@Override
	public String toString() {
		return getName();
	}		
}
